package com.ml.mall.service;

import com.ml.mall.bean.page.Page;
import com.ml.mall.bean.req.BaseDateRangeReq;
import com.ml.mall.bean.req.admin.category.AdminCategoryQueryOneReq;
import com.ml.mall.bean.req.admin.category.AdminCategoryQueryPageReq;
import com.ml.mall.bean.req.admin.coupon.CouponQueryOneReq;
import com.ml.mall.bean.req.admin.coupon.CouponQueryPageReq;
import com.ml.mall.bean.req.admin.coupon.CouponQueryUseNumReq;
import com.ml.mall.bean.req.admin.purchase.PurchaseQueryReportPageReq;
import com.ml.mall.bean.req.admin.purchase.PurchaseQuerySpentCategoryReq;
import com.ml.mall.bean.req.admin.variant.VariantQueryOneReq;
import com.ml.mall.bean.req.admin.variant.VariantQueryPageReq;
import com.ml.mall.bean.req.supplier.SupplierPurchaseQueryOneReportReq;
import com.ml.mall.bean.res.admin.PurchaseQueryOneRes;
import com.ml.mall.bean.res.admin.PurchaseReportPageRes;
import com.ml.mall.bean.res.admin.TypeSalesRes;
import com.ml.mall.bean.res.admin.category.AdminCategoryQueryPageRes;
import com.ml.mall.bean.res.admin.category.AdminCategoryQueryReportPageRes;
import com.ml.mall.bean.res.admin.variant.VariantQueryOneRes;
import com.ml.mall.bean.res.admin.variant.VariantQueryPageRes;
import com.ml.mall.bean.res.admin.variant.VariantQueryTopRes;
import com.ml.mall.bean.res.admin.vo.AdminOverviewSalesByCountryVO;
import com.ml.mall.bean.res.order.OrderQueryPageRes;
import com.ml.mall.bean.res.supplier.SupplierPurchaseQueryPageRes;
import com.ml.mall.bean.res.supplier.SupplierVariantQueryPageRes;
import com.ml.mall.bean.vo.DateValueVO;

import java.util.List;

/**
 * Created by kyyang on 2021/7/3 14:44
 */
public interface AnalyticsCouponService {

    //查询每日使用的数量
    List<DateValueVO> selectDayUseNumByCouponCodeAndTime(CouponQueryUseNumReq req);

    //分页查询该优惠券相关订单
    Page<OrderQueryPageRes> selectOrderByCouponCode(CouponQueryPageReq req);
}
